<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>编辑角色</title>
    <link rel="shortcut icon" href="favicon.ico">

    <link rel="shortcut icon" href="favicon.ico">
    <link rel="stylesheet" th:href="@{/resource/css/bootstrap.min.css}" />
    <link rel="stylesheet" th:href="@{/resource/css/font-awesome.min.css}" />
    <link rel="stylesheet" th:href="@{/resource/css/animate.css}" />
    <link rel="stylesheet" th:href="@{/resource/css/style.css}" />
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-6">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5 >编辑角色</h5>

                </div>
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="commentForm" method="post">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">角色名：</label>
                            <div class="col-sm-8">
                                <input id="roleName" name="roleName" minlength="2" type="text" class="form-control" required=""  th:value="${roleModel.roleName}" aria-required="true">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">角色代码：</label>
                            <div class="col-sm-8">
                                <input id="roleCode" type="text" class="form-control" name="roleCode" required="" aria-required="true" th:value="${roleModel.roleCode}">
                                <input id="roleID" type="hidden" class="form-control" name="rolecode" required="" aria-required="true" th:value="${roleModel.roleID}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">角色描述：</label>
                            <div class="col-sm-8">
                                <textarea id="roleRemark" name="roleRemark" class="form-control" required="" aria-required="true"  th:inline="text">[[${roleModel.roleRemark}]]</textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-3">
                                <button class="btn btn-primary" id="update_submit" type="button">修改</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

        </div>

    </div>

</div>



<script type="text/javascript" th:src="@{/script/js/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/script/js/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{/script/js/contabs.js}"></script>
<script type="text/javascript" th:src="@{/script/js/common/role/role.js}"></script>
<script type="text/javascript" th:src="@{/script/js/plugins/validate/messages_zh.min.js}"></script>
<script type="text/javascript" th:src="@{/script/js/plugins/validate/jquery.validate.min.js}"></script>
<script type="text/javascript" th:src="@{/script/js/demo/form-validate-demo.js}"></script>


</body>

</html>